Skip to content

fix(blog): seo issue#7783

Merged
mhartington merged 2 commits intomainfrom
blog-seo-fixes
Apr 7, 2026
Merged

fix(blog): seo issue#7783
mhartington merged 2 commits intomainfrom
blog-seo-fixes

Conversation

@mhartington
Copy link
Copy Markdown
Member

@mhartington mhartington commented Apr 7, 2026

Summary by CodeRabbit

  • New Features

    • Published a new blog announcement introducing the try-prisma CLI, with usage instructions, starter examples, embedded video/image, contribution guidance, and a link to the repository.
  • Documentation

    • Updated author attribution on an existing blog post to include a second author.
  • Style

    • Adjusted page layout top spacing to refine vertical alignment across blog pages.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment Apr 7, 2026 6:20pm
docs Ready Ready Preview, Comment Apr 7, 2026 6:20pm
eclipse Ready Ready Preview, Comment Apr 7, 2026 6:20pm
site Ready Ready Preview, Comment Apr 7, 2026 6:20pm

Request Review

@argos-ci
Copy link
Copy Markdown

argos-ci bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Apr 7, 2026, 6:26 PM

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 7, 2026

Walkthrough

This PR adds a new blog announcement for the try-prisma CLI, updates an existing post to include a second author (Will Madden), and removes the pt-24 top padding class from the blog app body layout.

Changes

Cohort / File(s) Summary
Blog Content — updated & new
apps/blog/content/blog/rethinking-database-migrations/index.mdx, apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx
Added a second author (Will Madden) to an existing post; added a new MDX announcement page for try-prisma with full frontmatter, embedded video, images, usage instructions, links, and a call-to-action button.
Layout Styling
apps/blog/src/app/layout.tsx
Removed pt-24 from the body element’s Tailwind classes to adjust top spacing while keeping layout structure and background overlay intact.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title 'fix(blog): seo issue' is vague and generic—it mentions 'seo issue' without specifying what SEO problem was fixed or which blog content was affected. Revise the title to be more specific and descriptive, such as 'fix(blog): add missing author metadata for SEO' or 'fix(blog): adjust page layout padding'. This would clarify the primary change for future reference.
✅ Passed checks (1 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (2)
apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx (2)

25-25: Consider hyphenating "up to date" as "up-to-date".

When used as a compound adjective before a noun, "up-to-date" should be hyphenated for clarity.

✍️ Proposed style fix
-For a while now, we at Prisma have maintained our [prisma-examples](https://github.com/prisma/prisma-examples) repository with up to date, ready-to-go projects using Prisma. The intent for these projects is to allow users to experience what Prisma would be like in their new stack while evaluating technologies.
+For a while now, we at Prisma have maintained our [prisma-examples](https://github.com/prisma/prisma-examples) repository with up-to-date, ready-to-go projects using Prisma. The intent for these projects is to allow users to experience what Prisma would be like in their new stack while evaluating technologies.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx` at line
25, Replace the phrase "up to date" with the hyphenated compound adjective
"up-to-date" in the sentence referencing the prisma-examples repository (the
text containing "prisma-examples" and "ready-to-go projects") so it reads
"up-to-date, ready-to-go projects" for correct compound-adjective usage.

96-96: Consider more concise phrasing: "all the" instead of "all of the".

For brevity, "all the options" is more concise than "all of the options."

✍️ Proposed style fix
-If you are curious about all of the options available via the CLI, head over to the [`try-prisma` repository](https://github.com/prisma/try-prisma) and check out the README.
+If you are curious about all the options available via the CLI, head over to the [`try-prisma` repository](https://github.com/prisma/try-prisma) and check out the README.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx` at line
96, Replace the phrase "all of the options available via the CLI" with the more
concise "all the options available via the CLI" in the sentence that links to
the try-prisma repository (the line containing "If you are curious about all of
the options available via the CLI, head over to the [`try-prisma`
repository"](https://github.com/prisma/try-prisma) and check out the README.");
update that sentence text accordingly to use "all the options" for brevity.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx`:
- Line 3: Update the slug value "try-prisma-announcment-Kv6bwRcdjd" to
"try-prisma-announcement-Kv6bwRcdjd" in the MDX frontmatter and rename the
containing folder from try-prisma-announcment-Kv6bwRcdjd to
try-prisma-announcement-Kv6bwRcdjd; also search for and update any references to
the old slug/folder (routing, links, sitemap, imports) so the generated URL
becomes /try-prisma-announcement-... consistently.
- Line 18: The line beginning with an unmatched opening double-quote before the
sentence about the CLI utility (the text containing "try-prisma" and `npx
try-prisma`) is malformed; fix it by removing the stray leading double-quote or
adding a matching closing double-quote so the sentence is properly
punctuated—update the content in the MDX entry (the paragraph mentioning
try-prisma) to have balanced quotation marks or no extraneous quote.

In `@apps/blog/src/app/layout.tsx`:
- Line 39: The body padding removed in layout.tsx breaks the blog TOC's sticky
positioning—either restore the 6rem padding by adding back pt-24 on the <body>
className in layout.tsx, or update the TOC styles that currently use "sticky
top-24" and "max-h-[calc(100vh-6rem)]" to compute offsets from the real header
height (e.g. replace top-24 and calc(100vh-6rem) with a CSS variable or concrete
header-height value like top-[var(--header-height)] and max-h-[calc(100vh -
var(--header-height))] in the TOC component) so the sticky TOC no longer depends
on body padding.

---

Nitpick comments:
In `@apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx`:
- Line 25: Replace the phrase "up to date" with the hyphenated compound
adjective "up-to-date" in the sentence referencing the prisma-examples
repository (the text containing "prisma-examples" and "ready-to-go projects") so
it reads "up-to-date, ready-to-go projects" for correct compound-adjective
usage.
- Line 96: Replace the phrase "all of the options available via the CLI" with
the more concise "all the options available via the CLI" in the sentence that
links to the try-prisma repository (the line containing "If you are curious
about all of the options available via the CLI, head over to the [`try-prisma`
repository"](https://github.com/prisma/try-prisma) and check out the README.");
update that sentence text accordingly to use "all the options" for brevity.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 3b0ff4d5-9687-49d2-bc3d-d78cd14e0f49

📥 Commits

Reviewing files that changed from the base of the PR and between daca911 and e9c20d0.

⛔ Files ignored due to path filters (5)
  • apps/blog/public/authors/sabin-adams.png is excluded by !**/*.png
  • apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/hero.svg is excluded by !**/*.svg
  • apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/meta.png is excluded by !**/*.png
  • apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/process.gif is excluded by !**/*.gif
  • apps/blog/public/try-prisma-announcment-Kv6bwRcdjd/imgs/suggestions.png is excluded by !**/*.png
📒 Files selected for processing (3)
  • apps/blog/content/blog/rethinking-database-migrations/index.mdx
  • apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx
  • apps/blog/src/app/layout.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

♻️ Duplicate comments (1)
apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx (1)

3-3: ⚠️ Potential issue | 🟠 Major

Fix the slug typo to avoid SEO and asset-path inconsistency.

announcment is misspelled in the slug and repeated in image paths. This creates a non-ideal canonical URL and bakes the typo into content asset links. Please rename to announcement consistently (including the folder name and any references).

Proposed fix (frontmatter + in-file paths)
-slug: "try-prisma-announcment-Kv6bwRcdjd"
+slug: "try-prisma-announcement-Kv6bwRcdjd"
...
-metaImagePath: "/try-prisma-announcment-Kv6bwRcdjd/imgs/meta.png"
-heroImagePath: "/try-prisma-announcment-Kv6bwRcdjd/imgs/hero.svg"
+metaImagePath: "/try-prisma-announcement-Kv6bwRcdjd/imgs/meta.png"
+heroImagePath: "/try-prisma-announcement-Kv6bwRcdjd/imgs/hero.svg"
...
-![Suggestions for new Prisma examples](/try-prisma-announcment-Kv6bwRcdjd/imgs/suggestions.png)
+![Suggestions for new Prisma examples](/try-prisma-announcement-Kv6bwRcdjd/imgs/suggestions.png)
...
-![The try-prisma CLI setup flow](/try-prisma-announcment-Kv6bwRcdjd/imgs/process.gif)
+![The try-prisma CLI setup flow](/try-prisma-announcement-Kv6bwRcdjd/imgs/process.gif)

Also applies to: 9-10, 67-67, 92-92

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx` at line
3, The slug value "try-prisma-announcment-Kv6bwRcdjd" contains a typo; rename
the slug to "try-prisma-announcement-Kv6bwRcdjd" and update every in-file
reference of "announcment" to "announcement" (this includes the frontmatter slug
field and all image/asset paths where the misspelling appears). Also rename the
containing folder to match the corrected slug and verify links within the
document (search for the token "announcment" and fix occurrences noted around
lines 9-10, 67, and 92). Ensure consistency so canonical URL and asset paths use
"announcement".
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx`:
- Line 25: Replace the non-hyphenated compound adjective "up to date" with the
hyphenated form "up-to-date" in the sentence that currently reads "with up to
date, ready-to-go projects..." inside the index.mdx content so it becomes "with
up-to-date, ready-to-go projects..."; update that exact phrase in the file to
apply proper hyphenation.
- Line 8: Update the frontmatter metaDescription value to correct the grammar by
replacing "an example projects" with either "an example project" (singular) or
"example projects" (plural); locate the metaDescription entry in the frontmatter
of the file and edit the string to read, for example, "Announcing: Try Prisma. A
CLI utility that allows you to easily set up and try out an example project
using Prisma." referencing the metaDescription key in the document.

---

Duplicate comments:
In `@apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx`:
- Line 3: The slug value "try-prisma-announcment-Kv6bwRcdjd" contains a typo;
rename the slug to "try-prisma-announcement-Kv6bwRcdjd" and update every in-file
reference of "announcment" to "announcement" (this includes the frontmatter slug
field and all image/asset paths where the misspelling appears). Also rename the
containing folder to match the corrected slug and verify links within the
document (search for the token "announcment" and fix occurrences noted around
lines 9-10, 67, and 92). Ensure consistency so canonical URL and asset paths use
"announcement".
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b8b3b3d2-769e-4629-b46b-7c166ece060d

📥 Commits

Reviewing files that changed from the base of the PR and between e9c20d0 and b7b1bd2.

📒 Files selected for processing (1)
  • apps/blog/content/blog/try-prisma-announcment-Kv6bwRcdjd/index.mdx

@mhartington mhartington merged commit 30c2c7d into main Apr 7, 2026
18 checks passed
@mhartington mhartington deleted the blog-seo-fixes branch April 7, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant